///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Sep  8 2010)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "Window.h"

///////////////////////////////////////////////////////////////////////////

Window::Window( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	mStatusBar = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_Window_mStatusBar );
	mMenuBar = new wxMenuBar( 0 );
	mFile = new wxMenu();
	wxMenuItem* mQuit;
	mQuit = new wxMenuItem( mFile, wxID_Window_mQuit, wxString( _("Quit") ) , wxEmptyString, wxITEM_NORMAL );
	mFile->Append( mQuit );
	
	mMenuBar->Append( mFile, _("File") ); 
	
	this->SetMenuBar( mMenuBar );
	
	wxBoxSizer* mSizer;
	mSizer = new wxBoxSizer( wxHORIZONTAL );
	
	mSplitterWindow = new wxSplitterWindow( this, wxID_Window_mSplitterWindow, wxDefaultPosition, wxDefaultSize, wxSP_3D );
	mSplitterWindow->Connect( wxEVT_IDLE, wxIdleEventHandler( Window::mSplitterWindowOnIdle ), NULL, this );
	
	mCanvasWindow = new wxPanel( mSplitterWindow, wxID_Window_mCanvasWindow, wxDefaultPosition, wxDefaultSize, 0 );
	wxBoxSizer* mCanvasSizer;
	mCanvasSizer = new wxBoxSizer( wxVERTICAL );
	
	mCanvasPanel = new wxPanel( mCanvasWindow, wxID_Window_mCanvasPanel, wxDefaultPosition, wxDefaultSize, 0 );
	mCanvasPanel->SetForegroundColour( wxColour( 127, 127, 127 ) );
	mCanvasPanel->SetBackgroundColour( wxColour( 127, 127, 127 ) );
	
	mCanvasSizer->Add( mCanvasPanel, 1, wxEXPAND | wxALL, 5 );
	
	mCanvasWindow->SetSizer( mCanvasSizer );
	mCanvasWindow->Layout();
	mCanvasSizer->Fit( mCanvasWindow );
	mSocketWindow = new wxPanel( mSplitterWindow, wxID_Window_mSocketWindow, wxDefaultPosition, wxDefaultSize, 0 );
	wxStaticBoxSizer* mSocketSizer;
	mSocketSizer = new wxStaticBoxSizer( new wxStaticBox( mSocketWindow, wxID_ANY, _("Socket") ), wxVERTICAL );
	
	mSocketWindow->SetSizer( mSocketSizer );
	mSocketWindow->Layout();
	mSocketSizer->Fit( mSocketWindow );
	mSplitterWindow->SplitVertically( mCanvasWindow, mSocketWindow, 486 );
	mSizer->Add( mSplitterWindow, 1, wxEXPAND, 5 );
	
	this->SetSizer( mSizer );
	this->Layout();
	
	this->Centre( wxBOTH );
}

Window::~Window()
{
}
